package com.tmall.tmall.service;

import com.tmall.tmall.pojo.Advertising;
import com.tmall.tmall.pojo.PageRt;

import java.util.List;

public interface AdvertisingService {
    void insert(Advertising advertising);

    Advertising getByPosition(Integer position);

    PageRt page(Integer pageNum, Integer pageSize, Integer position);

    void update(Advertising advertising);

    void delete(List<Integer> ids);

    List<Advertising> selectAll();
}

